package com.weishenai.customerassistant.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weishenai.customerassistant.entity.sys.SysUserEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author weishenai
 * @since 2021-11-27
 */
@Repository
public interface SysUserMapper extends BaseMapper<SysUserEntity> {
    List<Long> getNavMenuIds(Long userid);

    /**
     * @Description: 查询与菜单关联的所有用户
     * @Param: [menuId]
     * @return: java.util.List<com.weishenai.blog.entity.sys.SysUserEntity>
     * @Author: weishenai
     * @Date: 2021/11/28
     */
    List<SysUserEntity> listByMenuId(Long menuId);
}
